package com.study.notepad.service;

import com.study.notepad.bean.User;

public interface UserService {

    User findUserById(Integer id);

    User login(String userName,String password);

    int register(String userName, String password,String headImg);

    User findUserByName(String userName);

    int updateUser(Integer id,String userName,String password,String headImg);
}
